package org.neuedu.ssmp.crm.service.impl;

import org.neuedu.ssmp.crm.entity.SysRoleAuthor;
import org.neuedu.ssmp.crm.mapper.SysRoleAuthorMapper;
import org.neuedu.ssmp.crm.service.ISysRoleAuthorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Service
public class SysRoleAuthorServiceImpl extends ServiceImpl<SysRoleAuthorMapper, SysRoleAuthor> implements ISysRoleAuthorService {

    @Autowired
    private SysRoleAuthorMapper mapper;
    @Override
    public List<SysRoleAuthor> list(Integer id) {
        return mapper.list(id);
    }
}
